package com.qf.zhijia.mapper;

import com.qf.zhijia.pojo.Product;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * @author Canaan
 * @version V1.0
 * @data 2020/09/05
 **/
@Component
public interface ProductMapper {

    @Select("select p_id,p_name,p_price,p_image,p_info,p_style,theme_id,t_id from product where p_id = #{pId}")
    Product selectById(Integer pId);
}
